package com.jmp.api.user.dto;

import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class GoodsInfoResponse {
    private Integer showPrice;
    private String qjVrUrl;
    private String goodsDetails;
    private String goodsName;
    private Integer price;
    private String coverImg;
    private Integer ispayment;
    private String goodPhoto;
    private List<Spec> goodSpecModelList;
    private Integer companyId;// fix user-api companyId undefined
    /**
     * 商品-名片用户ID
     */
    private Integer cardUserId;
    private String videoUrl;

    @Data
    @Builder
    public static class Spec {
        private Integer specId;
        private Integer parentId;
        private String specName;
        private String specAttribute;
        private Integer price;
        private Integer specNum;
        private List<Spec> goodSpecModelList;
    }
}
